package com.model.bean;

import com.entites.EventLibrary;
import java.util.List;
import javax.ejb.Local;

@Local
public interface EventLibraryFacadeLocal
{

    void create(EventLibrary eventLibrary);

    void edit(EventLibrary eventLibrary);

    void remove(EventLibrary eventLibrary);

    EventLibrary find(Object id);

    List<EventLibrary> findAll();

    List<EventLibrary> findRange(int[] range);

    int count();

    List<EventLibrary> findAllEveventLibraryOrderByDesc(int begin_row,int end_row,String Username);
    
    EventLibrary findById(int id,String username);
    
    List<EventLibrary> findAllByEventType(String eventType);
    
    List<EventLibrary> findEventLibraryByParameter(int beginrow,int endrow,String username,String parameter);
    
    int countRecordSearch(String parameter);
    
    EventLibrary getUpcomingEvent(String username);
    
    
}
